/*
 * OledTestCase.h
 *
 *  Created on: 2021年9月1日
 *      Author: vicent-PC
 */

#ifndef HAL_DRIVER_SCREEN_HAL_OLEDTESTCASE_H_
#define HAL_DRIVER_SCREEN_HAL_OLEDTESTCASE_H_

#include "screen_driver.h"

class OledTestCase {
public:
	OledTestCase();
	virtual ~OledTestCase();
	void test();

	// extern interface
	int init();
	int deInit();
	int drawBmp(uint16_t x, uint16_t y, uint16_t w, uint16_t h, uint16_t *bitmap);
	void testWelcome();

private:
	scr_driver_t mLcd;
	scr_interface_driver_t *iface_drv = nullptr;
	i2c_bus_handle_t i2c_bus;
};

#endif /* HAL_DRIVER_SCREEN_HAL_OLEDTESTCASE_H_ */
